#pragma once
#include "windows.h"

class EBaseWordError
{
	HRESULT m_ErrorCode;
public:
	EBaseWordError(HRESULT ErrorCode) : m_ErrorCode(ErrorCode){};
	
	HRESULT GetErrorCode(){ return m_ErrorCode; };
};

class EInvocationError: public EBaseWordError
{
public:
	EInvocationError(HRESULT ErrorCode):EBaseWordError(ErrorCode){};
};

class EIinitializationError: public EBaseWordError
{
public:
	EIinitializationError(HRESULT ErrorCode):EBaseWordError(ErrorCode){};
};